package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.SingleTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.omg.CORBA.OBJ_ADAPTER;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2022-05-31
 */
@Mapper
public interface SingleTimeMapper extends BaseMapper<SingleTime> {

    List<Object> getWeekday();

    List<Object> getTimeByWeekday(String day);

    Long getIdByTime(String time,String week);

    int deleteByWeekdayAndTime(String weekday,String time);

}
